package com.ourteam.product.model.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:43
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductModelServiceDAO extends IDataAccessInterface<ProductModelService, ProductModelServiceDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_MODEL_SERVICE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_MODEL_SERVICE.ID";

    /**
     * Mapped Field OBJECT_ID
    */
    static final String ObjectId = "PRODUCT_MODEL_SERVICE.OBJECT_ID";

    /**
     * Mapped Field SERVICE_CODE
    */
    static final String ServiceCode = "PRODUCT_MODEL_SERVICE.SERVICE_CODE";

    /**
     * Mapped Field SERVICE_NAME
    */
    static final String ServiceName = "PRODUCT_MODEL_SERVICE.SERVICE_NAME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_MODEL_SERVICE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_MODEL_SERVICE.REMARKS";

    /**
     * Mapped Field CAN_TEST
    */
    static final String CanTest = "PRODUCT_MODEL_SERVICE.CAN_TEST";

    /**
     * Mapped Field SUBMITTER_ID
    */
    static final String SubmitterId = "PRODUCT_MODEL_SERVICE.SUBMITTER_ID";

    /**
     * Mapped Field CREATOR_NAME
    */
    static final String CreatorName = "PRODUCT_MODEL_SERVICE.CREATOR_NAME";

    /**
     * Mapped Field CREATE_TIME
    */
    static final String CreateTime = "PRODUCT_MODEL_SERVICE.CREATE_TIME";

    /**
     * Mapped Field LAST_MODIFIER_NAME
    */
    static final String LastModifierName = "PRODUCT_MODEL_SERVICE.LAST_MODIFIER_NAME";

    /**
     * Mapped Field LAST_MODIFY_TIME
    */
    static final String LastModifyTime = "PRODUCT_MODEL_SERVICE.LAST_MODIFY_TIME";

    /**
     * Mapped Attribute objectName
    */
    static final String ObjectName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelObjectDAO.ObjectName,
            com.ourteam.product.model.dao.IProductModelObjectDAO.EntityName +
            ".", "PRODUCT_MODEL_SERVICE_OBJ.");

    /**
     * Mapped Attribute objectCode
    */
    static final String ObjectCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelObjectDAO.ObjectCode,
            com.ourteam.product.model.dao.IProductModelObjectDAO.EntityName +
            ".", "PRODUCT_MODEL_SERVICE_OBJ.");

    /**
     * Mapped Attribute objectType
    */
    static final String ObjectType = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelObjectDAO.ObjectType,
            com.ourteam.product.model.dao.IProductModelObjectDAO.EntityName +
            ".", "PRODUCT_MODEL_SERVICE_OBJ.");

    /**
     * Mapped Attribute objectStatus
    */
    static final String ObjectStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.model.dao.IProductModelObjectDAO.Status,
            com.ourteam.product.model.dao.IProductModelObjectDAO.EntityName +
            ".", "PRODUCT_MODEL_SERVICE_OBJ.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductModelService findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute objectId
         */
        static final String ObjectId = "objectId";

        /**
         * Attribute serviceCode
         */
        static final String ServiceCode = "serviceCode";

        /**
         * Attribute serviceName
         */
        static final String ServiceName = "serviceName";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute canTest
         */
        static final String CanTest = "canTest";

        /**
         * Attribute objectName
         */
        static final String ObjectName = "objectName";

        /**
         * Attribute objectCode
         */
        static final String ObjectCode = "objectCode";

        /**
         * Attribute objectType
         */
        static final String ObjectType = "objectType";

        /**
         * Attribute objectStatus
         */
        static final String ObjectStatus = "objectStatus";

        /**
         * Attribute submitterId
         */
        static final String SubmitterId = "submitterId";

        /**
         * Attribute creatorName
         */
        static final String CreatorName = "creatorName";

        /**
         * Attribute createTime
         */
        static final String CreateTime = "createTime";

        /**
         * Attribute lastModifierName
         */
        static final String LastModifierName = "lastModifierName";

        /**
         * Attribute lastModifyTime
         */
        static final String LastModifyTime = "lastModifyTime";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
